<div>
    <div class="ub-content-box margin-bottom">
        <div class="p-3">
            <div class="flex items-center">
                <div class="text-sm flex-grow">
                    <i class="iconfont icon-tag"></i>
                    标签
                </div>
                <div>
                    <a href="" class="ub-text-muted">
                        全部
                    </a>
                </div>
            </div>
            <div class="mt-4 flex flex-wrap">
                @foreach($tags as $tag)
                    <a href=""
                       class="hover:shadow ub-content-block block leading-5 mb-2 mr-2 px-2 py-1 rounded-3xl">
                        {{ $tag->name }}
                        <span
                            class="rounded-3xl bg-gray-400 text-white px-1 opacity-50">99</span>
                    </a>
                @endforeach
            </div>
        </div>
    </div>
</div>
